<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查询所有租房信息</title>
<style type="text/css">
	table{
		border: 2px red solid; 
		width: 800px;
		height: auto;
	}
	td{
		border: 1px red solid; 
		text-align: center;
	}
	.c2{float:right; padding-right:50px}
	.c1{float:left; padding-left:50px}
</style>
</head>
<body>
<table align="center" cellspacing="0">
<tr>
	<td colspan="13"><div class="c1">房屋出租管理信息</div><div class="c2"><a href="insert">发布信息</a></div></td>
</tr>
<tr>
	<td>编号</td>
	<td>所在区域</td>
	<td>小区名称</td>
	<td>房型</td>
	<td>房屋面积（/m）</td>
	<td>装修情况</td>
	<td>楼层</td>
	<td>租金</td>
	<td>房东</td>
	<td>房东电话</td>
	<td>出租情况</td>
	<td>发布人</td>
	<td>修改</td>
</tr>
<c:forEach items="${list}" var="house">
	<tr>
		<td>${house.hid}</td>
		<td>${house.harea}</td>
		<td>${house.hname}</td>
		<td>${house.hfx}</td>
		<td>${house.hmj}</td>
		<td>${house.hzx}</td>
		<td>${house.hlc}</td>
		<td>${house.hzj}</td>
		<td>${house.hfd}</td>
		<td>${house.hfdtel}</td>
		<td>${house.hqk}</td>
		<td>${house.id.urealname}</td>
		<td><a href="one/${house.hid}">修改</a></td>
	</tr>
</c:forEach>
</table>
</body>
</html>